//
//  UIButton+ButtonExtils.m
//  Dearcare
//
//  Created by Laojingxing on 2018/11/5.
//  Copyright © 2018年 laojingxing. All rights reserved.
//

#import "UIButton+ButtonExtils.h"

@implementation UIButton (ButtonExtils)
- (void)buttonBorderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor cornerRadius:(CGFloat)cornerRadius {
    self.layer.cornerRadius = cornerRadius;
    self.layer.masksToBounds = YES;
    self.layer.borderColor = borderColor.CGColor;
    self.layer.borderWidth = borderWidth;
}

@end
